<?php
/**
 * Created by PhpStorm.
 * User: HeYongbiao
 * Date: 2016/11/30
 * Time: 19:30
 */
defined('IN_IA') or exit('Access Denied');
require_once IA_ROOT . '/framework/library/qrcode/phpqrcode.php';

function qrcodeToAttachment($value, $output, $errorLevel = QR_ECLEVEL_M, $size = 5){
    QRcode::png($value, $output, $errorLevel, $size);
}
